package Interface.InterfaceDome006;

/**
 * ClassName:PingPangSporter
 * Package:Interface.InterfaceDome006
 * Description:
 *
 * @Author:ZhangXin
 * @Create2023/1/25-13:47
 * @Version:v1.0
 */
public class PingPangSporter extends Sporter implements English {
    public PingPangSporter() {
    }

    public PingPangSporter(String name, int age) {
        super(name, age);
    }

    @Override
    public void study() {
        System.out.println("乒乓球运动员"+getName()+"在学习如何打乒乓球");
    }

    @Override
    public void speakEnglish() {
        System.out.println("乒乓球运动员"+getName()+"在讲英语");
    }
}
